@extends('home.userinfo.user_layout')
@section('title',$title)
@section('content')
	<div id="container">
    <div class="w">
    	<div id="content">
    		<input type="hidden" id="whereFrom" value="">
	        <div id="sub">
	      		<div id="menu">	
	      		<dl class="fore1">		
	      		<dt id="_MYJD_setting">设置</dt>		
	      		<dd class="fore1_1" id="_MYJD_info">			
	      		<a clstag="homepage|keycount|home2013|Homeyser" href="/user" target="_self">个人信息</a>		
	      		</dd>		
	      		<!-- <dd class="fore1_2" id="_MYJD_safe">	 -->
	      		<dd class="fore1_5 curr" id="_MYJD_comments">			
	      		<a clstag="homepage|keycount|home2013|Homesafe" href="#" target="_self">账号安全</a>		
	      		</dd>		
	      		<dd class="fore1_3" id="_MYJD_accbinde">			
	      		<a clstag="homepage|keycount|home2013|Homezhbd" href="#" target="_self">账号绑定</a>		
	      		</dd>	
	      		<dd class="fore1_2" id="_MYJD_safe">	
				<!-- <dd class="fore1_5 curr" id="_MYJD_comments">	 -->
					<a clstag="homepage|keycount|home2013|Homegrade" href="/dingdan" target="_self">我的订单</a>
				</dd>
	      		<dd>			
	      		<a clstag="homepage|keycount|home2013|homeadd" href="/address" target="_self">收货地址</a>		
	      		</dd>	
	      		</dl>
	      		</div>
	      		<div id="menu-ads">
			
			<!--广告-->
				<div>
			<!-- 	<a href="#" target="_blank"><img width="90" height="70" alt="" app="image:poster" src="{{asset('/public/home/img/gg1.gif')}}">
				</a> -->

				</div>

				<div>
				<!-- <a href="#" target="_blank"><img width="90" height="70" alt="" app="image:poster" src="{{asset('/public/home/img/gg2.jpeg')}}"></a> -->
				</div>

				</div>
	        </div> 

<div style="width:800px;height:300px;background:#fff;">
	<!--结果集标题与导航组件 开始-->
	<div class="result_wrap" style="margin-top:-10px;text-indent:-45px;padding:10px 20px;
    border-bottom: 1px solid #e5e5e5;font-size:12px;">
	    <div class="result_title">
	        <h3>修改密码</h3>
	    </div>
	</div>
	<!--结果集标题与导航组件 结束-->

	<div class="result_wrap" style="margin-top:10px;padding:10px 20px;
    border-bottom:1px solid #e5e5e5;">
	    <form action="/pass" method="post" >
	        {{csrf_field()}}
	        <table class="add_tab">
	            <tbody>
	            <tr>
	                <th width="120" style="text-align:right;
				    font-weight:normal;
				    padding-right:10px;
				    font-size:14px;
				    border:1px solid #eee;"><i class="require" style="color:red;" >*</i>原密码：</th>
	                <td>
	                    <input type="password" name="password_o" style="margin-right: 5px;
					    padding: 6px 5px;
					    line-height: 12px;
					    font-size: 12px;"> </i>请输入原始密码</span>
	                </td>
	            </tr>
	            <tr>
	                <th style="text-align:right;
				    font-weight:normal;
				    padding-right:10px;
				    font-size:14px;
				    border:1px solid #eee;"><i class="require" style="color:red;">*</i>新密码：</th>
	                <td>
	                    <input type="password" name="password" style="margin-right: 5px;
					    padding: 6px 5px;
					    line-height: 12px;
					    font-size: 12px;"> </i>新密码6-20位</span>
	                </td>
	            </tr>
	            <tr>
	                <th style="text-align:right;
				    font-weight:normal;
				    padding-right:10px;
				    font-size:14px;
				    border:1px solid #eee;"><i class="require" style="color:red;" >*</i>确认密码：</th>
	                <td>
	                    <input type="password" name="password_confirmation" style="margin-right: 5px;
					    padding: 6px 5px;
					    line-height: 12px;
					    font-size: 12px;"  > </i>再次输入密码</span>
	                </td>
	            </tr>
	            <tr>
	                <th></th>
	                <td>
	                    <input type="submit" value="提交">
	                    <input type="button" class="back" onclick="history.go(-1)" value="返回">
	                </td>
	            </tr>
	            </tbody>
	        </table>
	    </form>
	</div>
	<div style="margin-top:20px;margin-left:200px;">
	@if(count($errors)>0)
	            <div class="mark">
	                @if(is_object($errors))
	                    @foreach($errors->all() as $error)
	                        <p>{{$error}}</p>
	                    @endforeach
	                @else
	                    <p>{{$errors}}</p>
	                @endif
	            </div>
    @endif
    </div>
</div>
@endsection